package day_9_17;

import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;

public class demo3 {
	
	public static void main(String[] args) throws IOException {
		FileInputStream fis=new FileInputStream("C:\\config.txt");
		Properties p = new Properties();
		p.load(fis);
		System.out.println(p.getProperty("startDate"));
		System.out.println(p.getProperty("password"));
	}

}
